package demo2;
//测试类
public class Test {
    public void main(String[] args) {
       Animal animal=new Animal("旺财",10);
       animal.running();
       }
    }

